@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set SC_HOME=%~dp0
set DRIVERS_CP=

for %%d in (%SC_HOME%drivers\*.jar) do SET DRIVERS_CP=!DRIVERS_CP!%%d^|

set JAVA_OPTS=-Xms2m -Xmx32m -Done-jar.class.path="!DRIVERS_CP!" -Dsc.home=%SC_HOME%

java -jar %JAVA_OPTS% %SC_HOME%txt-sql-client.jar